package com.leesche.zcsp.node.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leesche.zcsp.node.web.dao.PubPlaceTypeDao;
import com.leesche.zcsp.node.web.model.PubPlaceType;
import com.leesche.zcsp.node.web.model.PubPlaceTypeCriteria;
import com.leesche.zcsp.node.web.service.PubPlaceTypeService;
import com.leesche.zcsp.node.web.service.impl.data.read.PubPlaceTypeDto;
import com.leesche.zcsp.node.web.service.impl.data.read.QueryPubPlaceTypeCondition;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Title: PubPlaceTypeServiceImpl.java
 * @Package com.leesche.zcsp.node.service.impl
 * @Description:()
 * @author dennies yang
 * @date 2016年9月22日 下午4:24:42
 * @version V1.0
 */
@Service
@Transactional
public class PubPlaceTypeServiceImpl
		extends
		BaseServiceImpl<PubPlaceType, PubPlaceTypeCriteria, PubPlaceTypeDto, QueryPubPlaceTypeCondition, Long>
		implements PubPlaceTypeService {
	@Autowired
	private PubPlaceTypeDao pubPlaceTypeDao;

	@Autowired
	public void setBaseDao(PubPlaceTypeDao pubPlaceTypeDao) {
		super.setBaseDao(pubPlaceTypeDao);
	}

	@Override
	public List<PubPlaceTypeDto> findPlaceTypeList(QueryPubPlaceTypeCondition condition) {
		return pubPlaceTypeDao.findPlaceTypeList(condition);
	}
}
